package com.yjt.gcss.gddw.modules.infoSsxy;

import javax.annotation.Resource;

import org.hibernate.criterion.MatchMode;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yjt.gcss.gddw.common.bean.domain.InfoSsxy;
import com.yjt.gcss.gddw.common.dao.InfoSsxyDao;

@Service(InfoSsxyService.BEAN_PACKAGE_NAME)
@Transactional(readOnly=true)
public class InfoSsxyService {

public static final String BEAN_PACKAGE_NAME = "com.yjt.gcss.gddw.modules.infoSsxy.InfoSsxyService";
	
	@Resource(name = InfoSsxyDao.BEAN_PACKAGE_NAME)
	private InfoSsxyDao infoSsxyDao;
	
	public InfoSsxy getInfoSsxyByJYBSH(String jybsh) {
		InfoSsxy queryModel = new InfoSsxy();
		queryModel.setReqMsgId(jybsh);
		return infoSsxyDao.getBeanByBean(queryModel, MatchMode.EXACT);
	}
}
